package e.odbo.data.generate.code;

import e.odbo.data.generate.GenerateConfig;
import freemarker.template.Configuration;
import org.jumpmind.db.model.Table;

import java.util.ArrayList;
import java.util.HashMap;

public abstract class AbstractCodeClass {
    public String packageName;

    public String className;

    public String baseClassName;

    public ArrayList<String> importClassList;

    public HashMap<String, String> fieldsMap;

    public Table table;
    public GenerateConfig config;


    public AbstractCodeClass(Table table, GenerateConfig config) {
        this.table = table;
        this.config = config;
    }

    public abstract String generateClass(Configuration cfg, String modelName);
}
